Companion

object Companion

Properties

Link copied to clipboard

The default base URI for loading CE.SDK asset definitions from the IMG.LY CDN.

Functions

Link copied to clipboard
fun getInstance(id: String, audioContext: AudioContext = AudioContext.AUTO): Engine

Returns an instance of Engine class. Note that if an Engine instance already exists with id, same instance will be returned.

Link copied to clipboard
fun init(application: Application)

Initializer for Engine. This needs to be invoked before calling any of the Engine methods. It is recommended to invoke this method in the onCreate() method of application.